FROM frolvlad/alpine-oraclejdk8:slim
VOLUME /tmp
ADD EurekaServer.jar app.jar
RUN echo "Asia/Shanghai" > /etc/timezone
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8 -Duser.timezone=GMT+08","-jar","/app.jar"]